package dk.itu.mobile.vo;

import java.net.InetAddress;
import java.util.Date;

public class QueueItem {

	private String request;
	private InetAddress IAddress;
	private String role;
	private Date timeStamp;
	private int port;
	public int tries;
	
	public QueueItem(String req, InetAddress adr,int port, String role, Date stamp){
		
		this.request = req;
		this.IAddress = adr;
		this.role = role;
		this.timeStamp = stamp;
		this.port = port;
		this.tries = 0;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public InetAddress getIAddress() {
		return IAddress;
	}

	public void setIAddress(InetAddress iAddress) {
		IAddress = iAddress;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}
	
	public String getRole() {
		
		return this.role;
		
	}
	
	public void setRole(String r) {
		
		this.role = r;
		
	}
	
	public Date getTimeStamp() { 
		return timeStamp ;
	}
	
	
}
